package com.surenpi.jenkins.client.job;

import java.util.List;

public class GitTagList extends Job {
   private List<Values> values;

   public List<Values> getValues() {
      return this.values;
   }

   public void setValues(final List<Values> values) {
      this.values = values;
   }

   public boolean equals(final Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof GitTagList)) {
         return false;
      } else {
         GitTagList other = (GitTagList)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            Object this$values = this.getValues();
            Object other$values = other.getValues();
            if (this$values == null) {
               if (other$values != null) {
                  return false;
               }
            } else if (!this$values.equals(other$values)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(final Object other) {
      return other instanceof GitTagList;
   }

   public int hashCode() {
      int PRIME = 59;
      int result = 1;
      Object $values = this.getValues();
      result = result * 59 + ($values == null ? 43 : $values.hashCode());
      return result;
   }

   public String toString() {
      return "GitTagList(values=" + this.getValues() + ")";
   }
}
